package com.atguigu.lease.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @Author：yyj
 * @Package：com.atguigu.lease.model.enums
 * @Project：project01
 * @name：UserExist
 * @Date：2024/11/20 20:49
 * @Filename：UserExist
 */
@Getter
public enum UserExistEnum {
    USER_EXIST(452, "用户已存在哦");
    @EnumValue
    @JsonValue
    private Integer code;
    private String message;

    UserExistEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
